package com.cloudlinkscm.base.authcenter.domain;

import com.cloudlinkscm.base.authcenter.dao.RolePermissionRelationDao;
import com.cloudlinkscm.base.authcenter.model.TenantResource;

import java.util.ArrayList;
import java.util.List;

/**
 * @author : tac
 * @date : 28/07/2017
 */
public class AbstractRolePermissionManager {
    private RolePermissionRelationDao dao;
    private AbstractPublicResourceManager resourceManager;

    public int deleteByRoleId(String roleId) {
        //todo::
        return 0;
    }

    public List<TenantResource> listResourceByRoleId(String roleId) {
        //todo::
        return new ArrayList<>();
    }
}
